[NTG-context] [ using horizontal table lines ]

2024-04-15 Thread vm via ntg-context
I'm probably using the \starttable incorrectly: with this code I only get only *one* horizontal line in the header \starttable[|r|r|r|r|r|r|r|l|r|r|r|r|][bodyfont=9pt] \NC step\NC frac\NC ival\NC \NC\Use{4}[cI]{freq (Hz)}\NC~\NC\Use{4}[cI]{wavelength (m)}\AR \NC\DC\DC\DC\DL[4]\DL[4]\AR \NC 0

[NTG-context] Re: can we do binding correction?

2024-03-20 Thread Hraban Ramm
of a circle with radius /r/, being /r/ the thickness of the paper times the amount of physical signatures. Something like: \frac{π \times t \times s}{2}. I have not tried a formula for more folds in a signature. The thing is, you have to recalculate for each signature fold. The innermost will have

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Andres Conrado Montoya
in a signature (only one fold in the middle) usually is 1/2 the circumference of a circle with radius *r*, being *r* the thickness of the paper times the amount of physical signatures. Something like: \frac{π \times t \times s}{2}. I have not tried a formula for more folds in a signature. The thing is, you

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
can I improve > this ? > > Thanks > > Fabrice > > > > \m{ \forall n \in N, z_{n+1}=\frac{i}{3}z_n} > > you could try something like (here with too small numbers only to show...) > > \mapfontsize[modern][script] [.4] > \mapfontsize[modern][scriptscript][.2

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
Hi, On Fri, Dec 29, 2023 at 3:17 PM Fabrice Couvreur wrote: > > Hi, > To type my lessons or other, I use the Modern font in 12 pt or 11 pt. I find > that the subscript notations are a little too big : how can I improve this ? > Thanks > Fabrice > > \m{ \forall n \in N

[NTG-context] Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
Hi, To type my lessons or other, I use the Modern font in 12 pt or 11 pt. I find that the subscript notations are a little too big : how can I improve this ? Thanks Fabrice \m{ \forall n \in N, z_{n+1}=\frac{i}{3}z_n

[NTG-context] Re: Fractions

2023-12-10 Thread Gavin via ntg-context
b am 09.12.2023 um 17:19: >>> >>> Very clear ! >>> In typography for Mathematics books, what choice should we make for the >>> best possible result ? >>> >>> A question better answered by Mikael or Aditya! >> Thank you for your trust

[NTG-context] Re: Fractions

2023-12-10 Thread Henning Hraban Ramm
answered by Mikael or Aditya! Thank you for your trust, Wolfgang. I am not sure I have something valuable to say in addition to Adityas suggestion \frac{1/3} in inline math. In any case, I attach a passage, with suggestions inspired by Lansburgh's book (iin Swedish). Not sure the file size makes

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-10 Thread Hans Hagen via ntg-context
On 12/9/2023 4:33 PM, Aditya Mahajan wrote: On Sat, 9 Dec 2023, Wolfgang Schuster wrote: \starttext \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3}}: \m

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Aditya Mahajan
On Sat, 9 Dec 2023, Wolfgang Schuster wrote: > \starttext > > \startlines > \type{\frac{1}{3}}: \m{\frac{1}{3}} > \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} > \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} > \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} > \type{\sfrac{1}{3}}: \m{\sfrac{1

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 09.12.2023 um 16:13: Hi Wolfgang, I'm reading this thread and I'm interested because I type a lot of text with mathematical formulas. In fact, I find that \dfrac{} creates unsightly leading space and that \frac{} is too small. What is the difference between \frac

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Fabrice Couvreur
Hi Wolfgang, I'm reading this thread and I'm interested because I type a lot of text with mathematical formulas. In fact, I find that \dfrac{} creates unsightly leading space and that \frac{} is too small. What is the difference between \frac{} and \tfrac{} ? Fabrice Le sam. 9 déc. 2023 à 14:00

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Henning Hraban Ramm
Am 09.12.23 um 14:43 schrieb Wolfgang Schuster: anton.chig...@mail.com schrieb am 09.12.2023 um 14:15: \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3}}: \m

[NTG-context] Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
anton.chig...@mail.com schrieb am 09.12.2023 um 14:15: I worked, ;-), thanks. Let me ask you another thing, how can I avoid messing up the line spacing by using \sqrt and \frac, the line that follows these has increased line spacing in the pdf output code: Find the normal and shearing stresses

[NTG-context] Re: \placefigure[location=here...] problem

2023-12-09 Thread anton . chigurh
I worked, ;-), thanks. Let me ask you another thing, how can I avoid messing up the line spacing by using \sqrt and \frac, the line that follows these has increased line spacing in the pdf output code: Find the normal and shearing stresses on an oblique plane defined by $l=\sqrt{\frac{3}{13

[NTG-context] Re: Inline math spacing

2023-12-04 Thread Hans Hagen via ntg-context
\enablemathautospacing % more global % \enablemathautofencing % more global \enablemathautonumbers % more global % \autofences % more local \usemodule[ipsum] \starttext \ipsum \stoptext And I attach the two files to setup the font. no math ... anyway \showglyphs \dorecurse{100}{test \im{\frac

[NTG-context] Re: Several math features broke for me in new Debian version

2023-11-03 Thread Kumar Appaiah
On Fri, Nov 03, 2023 at 01:16:15PM +0100, Wolfgang Schuster wrote: > > \starttext > > Hello world! > > \startformula > > X(f) = \startcases[align={right,left},distance=3pt] > > \NC T, \NC{} $|f| < \frac{1}{2T}$ \NR > > \NC 0, \NC{} $|f|

[NTG-context] Re: Several math features broke for me in new Debian version

2023-11-03 Thread Wolfgang Schuster
+dfsg-2, several math features seem to break for me. Here is an example: \starttext Hello world! \startformula X(f) = \startcases[align={right,left},distance=3pt] \NC T, \NC{} $|f| < \frac{1}{2T}$ \NR \NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR \stopcases \stopformula \stoptext There

[NTG-context] Several math features broke for me in new Debian version

2023-11-03 Thread Kumar Appaiah
. Here is an example: \starttext Hello world! \startformula X(f) = \startcases[align={right,left},distance=3pt] \NC T, \NC{} $|f| < \frac{1}{2T}$ \NR \NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR \stopcases \stopformula \stoptext The above works very well in 2021.03.05.20230120+dfsg-1+deb1

[NTG-context] Re: Combining python and lua

2023-10-25 Thread Bruce Horrocks
with math notation) and to compute the > trigonometric function leading to sin(pi/4) = 1/2, or cos(pi/6) = sqrt(3)/2 > and display it in math mode. You can use templates to subtitute values into a string and then send that out to be typeset. For example: if you want to turn "sin(pi/4) = 1/2"

[NTG-context] Re: Nested itemize

2023-08-22 Thread fv leung
- \frac{5}{12})^2 - \frac{1}{24}} \stopitem \startitem \m{-3(x - \frac{1}{3})^2 + \frac{1}{3}} \stopitem \startitem \m{7(x + \frac{5}{14})^2 + \frac{199}{28}} \stopitem \startitem \m{-\frac{1}{2}(x + 2)^2 + \frac{9}{2}} \stopitem

[NTG-context] itemize

2023-08-15 Thread Hans Hagen via ntg-context
(nesting, trial mode etc), think of \bTABLE \bTR \bTD \startitemize[a] \startitem \im{\sqrt{\frac{1}{x^4}}} \stopitem \startitem \startitemize[n] \startitem \im{\sqrt{\frac{1}{x^4}}} \stopitem \startitem \im{\sqrt{\frac{1}{x^4}}} \stopitem \stopitemize

[NTG-context] itemize

2023-08-15 Thread Hans Hagen via ntg-context
(nesting, trial mode etc), think of \bTABLE \bTR \bTD \startitemize[a] \startitem \im{\sqrt{\frac{1}{x^4}}} \stopitem \startitem \startitemize[n] \startitem \im{\sqrt{\frac{1}{x^4}}} \stopitem \startitem \im{\sqrt{\frac{1}{x^4}}} \stopitem \stopitemize

[NTG-context] Re: split align in formulas

2023-08-14 Thread Mikael Sundqvist
; james-tanton-web}. > \placeformula[eq:james-tanton-canvi-de-variables] > \startformula > \startalign > \NC ax^2 + bx + c = 0 \NC \NR > \NC ax^2 + bx = -c \NC \quad \text{transposem } c\NR > \NC x^2 + \frac{b}{a} x = - \frac{c}{a} \NC \quad \text{dividim per }a\NR > \NC x \left( x + \frac{

[NTG-context] split align in formulas

2023-08-14 Thread Xavier B.
ax^2 + bx + c = 0 \NC \NR \NC ax^2 + bx = -c \NC \quad \text{transposem } c\NR \NC x^2 + \frac{b}{a} x = - \frac{c}{a} \NC \quad \text{dividim per }a\NR \NC x \left( x + \frac{b}{a} \right) = - \frac{c}{a} \NC \quad \text{factoritzam} \NR \NC (k-D)(k+D) = - \frac{c}{a} \NC \quad \text{canvi de

Re: [NTG-context] Feynman Diagrams

2023-04-12 Thread Aditya Mahajan via ntg-context
x); max_y := max(max_y, y); min_x := min(min_x, x); min_y := min(min_y, y); endfor begin_sketch use_tile (t, min_x, min_y, max_x-min_x, max_y-min_y); clip currentpicture to p; end_sketch; use_sketch; enddef; vardef drawtile (suffix t) (expr p) = tile (t, p); cdraw p endd

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Xavier B. via ntg-context
cm] (-1.4,-1.4) grid (1.4,1.4); \draw (0,0) circle (1cm); \draw[->] (-1.5,0) -- (1.5,0) node[right] {$x$} coordinate(x axis); \draw[->] (0,-1.5) -- (0,1.5) node[above] {$y$} coordinate(y axis); \foreach \x/\xtext in {-1, -.5/-\frac{1

Re: [NTG-context] Spacing problem around decimal point

2023-03-28 Thread Bruce Horrocks via ntg-context
cking the new binary. (Thanks, Günter!) The x86_64-darwinlegacy from that download link version has fixed the problem on the Mac. Thank-you all involved. \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext gives the attached. —

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Bruce Horrocks via ntg-context
via ntg-context wrote: >>>> Hi List, >>>> I’m getting strange spaces around some decimal points after a clean >>>> LMTX >>>> install. MWE: >>>> \starttext >>>> \startformula >>>> v = \frac{1.32}{1.41

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Jim via ntg-context
t;> Hi List, >>> I’m getting strange spaces around some decimal points after a clean >>> LMTX >>> install. MWE: >>> \starttext >>> \startformula >>> v = \frac{1.32}{1.41} = 0.935 >>> \stopformula >>> \stoptext >>>

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Günter Kolousek via ntg-context
: Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks fine, but the next two numbers have excess space around

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Hans Hagen via ntg-context
On 3/26/2023 4:20 AM, Gavin via ntg-context wrote: Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Hans Hagen via ntg-context
On 3/26/2023 4:20 AM, Gavin via ntg-context wrote: Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks

Re: [NTG-context] \definemathfence broken in latest

2023-03-26 Thread Mikael Sundqvist via ntg-context
es] > > \starttext > \startformula > \abs{v} = \frac{1.32}{1.41} = 0.935 > \stopformula > \stoptext > > This causes an error, complaining that \abs is undefined. However, workes > fine with > > ConTeXt ver: 2023.02.07 19:06 LMTX fmt: 2023.3.14 int: english/englis

[NTG-context] \definemathfence broken in latest

2023-03-25 Thread Gavin via ntg-context
Hi List, The command \definemathfence seems to not be working as it did in other recent LMTX. MWE: \definemathfence[abs][bar][command=yes] \starttext \startformula \abs{v} = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This causes an error, complaining that \abs is undefined

[NTG-context] Spacing problem around decimal point

2023-03-25 Thread Gavin via ntg-context
Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks fine, but the next two numbers have excess space around

Re: [NTG-context] Building fomula

2023-03-25 Thread Willi Egger via ntg-context
Hello Alexandre, thank you so much, this is precisely what I was looking for! Cheers Willi > On 25 Mar 2023, at 18:28, Alexandre Christe via ntg-context > wrote: > > Hi Willi, > > A dead simple solution would be > > \starttext > \startformula > {\f

Re: [NTG-context] Building fomula

2023-03-25 Thread Alexandre Christe via ntg-context
Hi Willi, A dead simple solution would be \starttext \startformula {\frac{47 \times 62}{44 \times 56}} \times {12} \qquad \rm{or} \qquad {{\frac{47 \times 62 \times 12}{44 \timess 56}}=14.2 \rm kilo} \stopformula \stoptext Le sam. 25 mars 2023 à 18:09, Willi Egger via ntg-context <

[NTG-context] Building fomula

2023-03-25 Thread Willi Egger via ntg-context
. In the setup of book there would be enough place, if I coud decrease the space left and right of the ‘or’. How can I achieve this? Cheers Willi \starttext \startformulas \startformula[align=right] {\frac{47 \times 62}{44 \times 56}} \times {12} \stopformula \startformula

Re: [NTG-context] update

2023-02-24 Thread Otared Kavian via ntg-context
\fenced[brace][size=3]{x_3} = >\fenced[brace][size=4]{x_4} = >\fenced[brace]{\blackrule[width=1cm,height=1cm]} >} > >\im{ >\root[4]{1+x^2+a} + >\frac{1}{1+x^2+a} + >\overparent{1+x^2+a} + >\overbrace{1+x^2+a

[NTG-context] update

2023-02-23 Thread Hans Hagen via ntg-context
} = \fenced[brace][size=3]{x_3} = \fenced[brace][size=4]{x_4} = \fenced[brace]{\blackrule[width=1cm,height=1cm]} } \im{ \root[4]{1+x^2+a} + \frac{1}{1+x^2+a} + \overparent{1+x^2+a} + \overbrace{1+x^2+a} + \overparent{x

Re: [NTG-context] Math issue

2023-02-18 Thread Willi Egger via ntg-context
2} \over {44 \times 56}}=14.2\ \rm kilo >> \stopformula >> \stopformulas >> \stoptext >> Thank you for hinting me how to this correctly. > > \frac{...}{...} .. forget about \over > > - >

Re: [NTG-context] Math issue

2023-02-16 Thread Aditya Mahajan via ntg-context
uped? > — I tried also the grouping with bracis, which gives the same result. > 2. Why is the result after the equalsign in the denominator? > > [...] > Thank you for hinting me how to this correctly. Have you tried using \fra

Re: [NTG-context] Math issue

2023-02-16 Thread Hans Hagen via ntg-context
\times 12} \over {44 \times 56}}=14.2\ \rm kilo \stopformula \stopformulas \stoptext Thank you for hinting me how to this correctly. \frac{...}{...} .. forget about \over - Hans Hagen

[NTG-context] Font substitution for extensible symbols

2023-02-01 Thread Yaroslav Beltukov via ntg-context
\startformula \sqrt{\frac{1}{2}}\dorecurse{15}{+\sqrt{\blackrule[width=10pt,height=#1pt,depth=#1pt,color=gray]}} \stopformula \startformula \sqrt{\blackrule[width=10pt,height=100pt,depth=100pt,color=gray]} \stopformula \stoptext It works in MKIV but it gives the following error in the latest LMTX

Re: [NTG-context] Unconnected \mathboxanchored produces unexpected results

2022-12-22 Thread Hans Hagen via ntg-context
ded not to use this connector, producing unexpected results. \startformula \mathboxanchored[nucleus]{c1}{e}^{\dot\alpha} \mathboxanchored[nucleus]{c2}{e}_{\mu} \mathboxanchored[nucleus]{c3}{e}^{\beta} = \frac{1}{\sqrt{2}} \bar\sigma^{\dot\alpha\beta}_{\mu} \stopformula \stopboxanchor

[NTG-context] Unconnected \mathboxanchored produces unexpected results

2022-12-22 Thread Gavin via ntg-context
lts. \startformula \mathboxanchored[nucleus]{c1}{e}^{\dot\alpha} \mathboxanchored[nucleus]{c2}{e}_{\mu} \mathboxanchored[nucleus]{c3}{e}^{\beta} = \frac{1}{\sqrt{2}} \bar\sigma^{\dot\alpha\beta}_{\mu} \stopformula \stopboxanchoring \stoptext anchors-002-copy.pdf Description: Adobe

[NTG-context] Accent wrecking \mathboxanchored

2022-12-22 Thread Gavin via ntg-context
_{\mu}% <-- This works, without accent %\mathboxanchored[nucleus]{c2}{\bar{e}}_{\mu} % <-- This does not work, with accent \bar{\mathboxanchored[nucleus]{c2}{e}}_{\mu} % <-- This works, but connector punches through accent \mathboxanchored[nucleus]{c3}{e}^{\beta} = \f

Re: [NTG-context] Mathematical MetaFun Mania

2022-12-15 Thread Otared Kavian via ntg-context
distance=1ex, myrulethickness=1pt, rulecolor=darkred, mp=mypos:boxanchor:bottom]{b2}{b4} \startformula \int_{\mathboxanchored[nucleus]{b2}0}^{\mathboxanchored[nucleus]{b1}\infty} \frac{\dd x}{1 + x^2} = \int_{\mathboxanchored[nucleus]{b4}0}^{\mathboxanchored[nucleus]{b3

Re: [NTG-context] Mathematical MetaFun Mania

2022-12-15 Thread Hans Hagen via ntg-context
\starttext \startboxanchoring[+] \connectboxanchors[top][top][distance=1ex,arrow=no] {c1}{c2} \connectboxanchors[bottom] [bottom] [distance=1ex,arrow=no] {c2}{c3} \startformula \mathboxanchored[nucleus]{c1}{e}_{\alpha} \mathboxanchored[nucleus]{c2}{e}^{\mu} \mathboxanchor

Re: [NTG-context] \hpos in math - Half solved

2022-12-07 Thread Hans Hagen via ntg-context
=1ex] {d1}{d2} \startformula \mathboxanchored[nucleus]{c1}{e}_{\alpha} \mathboxanchored[nucleus]{c2}{e}^{\mu} \mathboxanchored[nucleus]{d1}{todo} \mathboxanchored[nucleus]{d2}{e}_{\dot{\beta}} = \frac{1}{\sqrt{2}} \sigma_{\alpha,\dot{\beta}}^{\mu} \stopformula \stopboxanchoring

Re: [NTG-context] \hpos in math

2022-12-06 Thread Hans Hagen via ntg-context
$ \connectboxanchors[top][top]{one}{two} x + \frac[source=\namedboxanchor{one}]{1+x}{2-x} = z + \frac[source=\namedboxanchor{two}]{1+x^2}{2-x^3} $ \input ward \connectboxanchors[top][top]{one}{two} So how about $ x + \frac[source=\namedboxanchor{one}]{1+x}{2-x} $ and $ z + \frac

Re: [NTG-context] font features

2022-11-03 Thread Hans Hagen via ntg-context
cpsp    Capital Spacing dlig    Discretionary Ligatures frac    Fractions hlig    Historical Ligatures kern    Kerning liga    Standard Ligatures lnum    Lining Figures mark    Mark Positioning mkmk    Mark to Mark Positioning onum    Oldstyle Figures pnum    Proportional Figures salt    Stylistic

Re: [NTG-context] font features

2022-11-03 Thread Herbert Voss via ntg-context
with otfinfo in the terminal. For example: iMac:~ voss$ otfinfo -f `kpsewhich LibertinusSerif-Regular.otf` c2sc    Small Capitals From Capitals calt    Contextual Alternates case    Case-Sensitive Forms ccmp    Glyph Composition/Decomposition cpsp    Capital Spacing dlig    Discretionary Ligatures frac

Re: [NTG-context] Bug in math alignment

2022-11-03 Thread Otared Kavian via ntg-context
ed, > align={1:right,2:left,3:left}, > strut=yes, > ] > > \starttext > > \placeformula > \startformula > \startpdeproblem > \NC - \Delta u \NC = 0 \NC \qquad\text{in } \Omega \NR > \NC \frac{\partial u}{\partial {\bi n}} \NC = V u + \phi \NC > \qquad\text{on } \p

Re: [NTG-context] Bug in math alignment

2022-11-02 Thread Mikael Sundqvist via ntg-context
commands such as \dm. > > We’ll see what Hans and Mikael say. > > Best regards: OK > > On 2 Nov 2022, at 12:53, Jeong Dal via ntg-context wrote: > > Dear Otared, > > > I think there is an issue with the size of math fonts in \frac when used in > math alignm

Re: [NTG-context] Bug in math alignment

2022-11-02 Thread Otared Kavian via ntg-context
ong Dal via ntg-context wrote: > > Dear Otared, > >> >> I think there is an issue with the size of math fonts in \frac when used in >> math alignments, as it is is shown in the following example. >> > > I confirm what you said. > > However, if I

Re: [NTG-context] Bug in math alignment

2022-11-02 Thread Jeong Dal via ntg-context
Dear Otared, > > I think there is an issue with the size of math fonts in \frac when used in > math alignments, as it is is shown in the following example. > I confirm what you said. However, if I use \dm{} instead of \displaystyle as following, then the output is correct. \

[NTG-context] Bug in math alignment

2022-11-02 Thread Otared Kavian via ntg-context
Hi Hans and Mikael, I think there is an issue with the size of math fonts in \frac when used in math alignments, as it is is shown in the following example. %% begin bug-mathalignment.tex \definemathmatrix[alignedcases] [align={1:right,2:left,3:left}, distance=3pt, left

[NTG-context] Formula has excess vertical spacing when in two column itemize

2022-10-21 Thread Gavin via ntg-context
, columns, two, nowhite, after] \item\hspace[big] $\frac{d}{dx} x^2$ This is where the solution should be. Text answers look fine, but formulas have too much space above, below and between lines\dots. \item\hspace[big] $\frac{d}{dx}\left( x^3 + 2x \right)$ \item\hspace[big] $\frac{d}{dx}\left( x^{-2

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
lumns,joinedup] [n=3,grid=line] > \item $ 56 + 2 \cdot 3 $ > \item $ 5-(7) $ > \item $ \frac{21}{7} $ > \stopitemize > > \stoptext > > Could be that there is a better way. > > Le jeu. 22 sept. 2022 à 12:57, Jan-Erik Hägglöf via ntg-context > mailto:ntg-context@

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Alexandre Christe via ntg-context
Hi Jan-Erik, One way I came across searching the mailing list is the following: \starttext \startitemize [a,columns,joinedup] [n=3,grid=line] \item $ 56 + 2 \cdot 3 $ \item $ 5-(7) $ \item $ \frac{21}{7} $ \stopitemize \stoptext Could be that there is a *better* way. Le jeu. 22 sept. 2022 à

[NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
\startitemize[a,columns,three]\item $ 56 + 2 \cdot 3 $\item $ 5-(7) $\item $ \frac{21}{7} $\stopitemize\stoptextThanks in advanceJan-Erik result.pdf Description: Adobe PDF document ___ If your question is of interest to others

Re: [NTG-context] new uplaod

2022-09-11 Thread Hans Hagen via ntg-context
\enablemathautonumbers % more global \autofences% more local \startTEXpage [offset=1dk] % $|x| + |3|$ % $ x \middle | \frac{a}{x}$ % $ x | \frac{a}{x}$ % $ ( \frac{a}{x} + b | x )$ $ ( \frac{a}{x} + b | x )$ $ ( \frac{a}{x} + b || x )$ $ ( \frac{a}{x} + b ||| x )$ $ ( \frac{a}{x} + b

Re: [NTG-context] new uplaod

2022-09-10 Thread Hans Hagen via ntg-context
is that $ \autofences x | \frac{a}{x}$ $ \autofences ( \frac{a}{x} + b | x )$ should also work (lone middles) Le jeu. 25 août 2022 à 18:18, Hans Hagen via ntg-context mailto:ntg-context@ntg.nl>> a écrit : Hi, I uploaded a new lmtx. Again some updated math of which details will be revealed

Re: [NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-07-27 Thread Hans Hagen via ntg-context
{\setmscale{1500}} % {\setmscale{1.5}} \startformula a=b^2 + \sqrt[3]{\frac{1}{x}} \stopformula \startformula \mx a=b^2 + \sqrt[3]{\frac{1}{x}} \stopformula \startformula \mxx a=b^2 + \sqrt[3]{\frac{1}{x}} \stopformula \startformula \TinyMath a=b^2 + \sqrt[3]{\frac

Re: [NTG-context] upload

2022-07-09 Thread Hans Hagen via ntg-context
, where it becomes a fraction atom) and when you compare {{a}\over{y}} \frac{a}{b} you even save two keystrokes -) it's also not easy to control spacing etc because one cannot redefine over; actually fractions uses \U[..over|above|..] which takes two arguments (forward scanning) It seems

Re: [NTG-context] Font too small with a macro

2022-04-23 Thread Günter Kolousek via ntg-context
t but >> with lmtx the font under the square root is smaller. >> Thank you >> Fabrice >> >> \protected\def\exp{\text{\normal exp}} >> >> \starttext >> \startformula >>\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). >> \stopformula >

Re: [NTG-context] Font too small with a macro

2022-04-23 Thread Mikael Sundqvist via ntg-context
er the square root is smaller. > >> Thank you > >> Fabrice > >> > >> \protected\def\exp{\text{\normal exp}} > >> > >> \starttext > >> \startformula > >>\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). > >> \stopform

Re: [NTG-context] Font too small with a macro

2022-04-23 Thread Günter Kolousek via ntg-context
Couvreur via ntg-context wrote: Hello, If I compile with context the expected result is correct but with lmtx the font under the square root is smaller. Thank you Fabrice \protected\def\exp{\text{\normal exp}} \starttext \startformula \sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). \stopformula

Re: [NTG-context] Font too small with a macro

2022-04-23 Thread Fabrice Couvreur via ntg-context
pile with context the expected result is correct but with lmtx > the font under the square root is smaller. > > Thank you > > Fabrice > > > > \protected\def\exp{\text{\normal exp}} > > > > \starttext > > \startformula > >\sqrt{\exp(x)}=\exp

Re: [NTG-context] Font too small with a macro

2022-04-23 Thread Mikael Sundqvist via ntg-context
mal exp}} > > \starttext > \startformula >\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). > \stopformula > \stoptext Hi, without your redefinition of \exp it looks fine (exp is already defined). Does that solve your problem, or are you doing something else, and t

[NTG-context] Font too small with a macro

2022-04-23 Thread Fabrice Couvreur via ntg-context
Hello, If I compile with context the expected result is correct but with lmtx the font under the square root is smaller. Thank you Fabrice \protected\def\exp{\text{\normal exp}} \starttext \startformula \sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). \stopformula \stoptext

Re: [NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Hans Hagen via ntg-context
to the parameter FractionNumeratorDisplayStyleShiftUp in lm.lfg. If you always set it to 600, it seems to work also for luatex. (This will be fixed.) Another thing: Instead of using \over, I suggest that you use \frac (less surprises). Something like: \starttext \startformula a=b + 1 \stopformula

Re: [NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Christoph Hintermüller via ntg-context
g. If you always set it > to 600, it seems to work also for luatex. (This will be fixed.) > > Another thing: Instead of using \over, I suggest that you use \frac > (less surprises). Something like: > > \starttext > \startformula > a=b + 1 > \stopformula > >

Re: [NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Mikael Sundqvist via ntg-context
The strange thing with fractions seems to be due to the parameter FractionNumeratorDisplayStyleShiftUp in lm.lfg. If you always set it to 600, it seems to work also for luatex. (This will be fixed.) Another thing: Instead of using \ov

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
\starttext \startchapter [title={Mill}] \dorecurse{7}{\samplefile{lorem}} \stopchapter \startchapter [title={Hacker}] \dorecurse{11}{\samplefile{lorem}} \stopchapter \startchapter [title={cow}] \dorecurse{7}{\samplefile{lorem}} \stopchapter \stoptext \setupbodyfont[termes] \starttext pla

Re: [NTG-context] Problems with itemize with several columns

2022-02-25 Thread Xavier B. via ntg-context
It seems that putting \column before itemize of 'c', forces 'c' together with this content. Repeating this step produces what I want: \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i divisió} Opereu: \startitemize[a, columns, three] \item \startformula 3 \cdot \frac{5}{3

Re: [NTG-context] Problems with itemize with several columns

2022-02-23 Thread Xavier B. via ntg-context
fraccions} \subject{Preguntes} \startexercici[exercici:operacions-amb-fraccions-1]{suma i resta} Opereu: \startitemize[a, columns, three] \item \startformula \frac{2}{7} + \frac{6}{7} - \frac{1}{7} \stopformula \item \startformula \frac{5}{8} + \frac{9}{8} \stopformula \item \startformula \frac{1}{4

Re: [NTG-context] Suggestions for more math classes?

2022-01-27 Thread Hans Hagen via ntg-context
, open, close, punct, inner (and some that we need not to think about)). So far, Hans has implemented frac and rad for fractions and radicals. The fractions has been a funny construction, being put inside empty delimiters, and so surrounded by the \nulldelimiterspace (which has been set to 1.2pt

[NTG-context] Suggestions for more math classes?

2022-01-27 Thread Mikael Sundqvist via ntg-context
)). So far, Hans has implemented frac and rad for fractions and radicals. The fractions has been a funny construction, being put inside empty delimiters, and so surrounded by the \nulldelimiterspace (which has been set to 1.2pt, independent of font size). Now we have better control of the spacing

Re: [NTG-context] new upload

2022-01-15 Thread Hans Hagen via ntg-context
\mathlist 5:7: ...\mathord 5:7: \nucleus 5:7: .\mathchar (fam="0,char="61) 5:7: ...\mathbin 5:7: \nucleus 5:7: .\mathchar (fam="0,char="2B) 5:7: ...\mathord 5:7: \nucleus 5:7: .\mathchar (fam="0,char="62) i'll upload a fixed version fwiw: \

Re: [NTG-context] STIX2 font issues with freshly installed LMTX

2022-01-05 Thread Heinrich Paeßens via ntg-context
>> - >>> \setupbodyfont[stixtwo] >>> \starttext >>> >>> Test ß 1lIjJuQ \% § \& ?! VERSAL-ẞ- \|> --- 1234567890 --- // >>> >>> \placeformula[eqn:def-m] >>> \startformula >>> m = \frac{m_0}{\sqrt{1-\frac

[NTG-context] STIX2 font issues with freshly installed FMTX

2022-01-03 Thread Heinrich Paeßens via ntg-context
): - \setupbodyfont[stixtwo] \starttext Test ß 1lIjJuQ \% § \& ?! VERSAL-ẞ- \|> --- 1234567890 --- // \placeformula[eqn:def-m] \startformula m = \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}} \stopformula \stoptext - Unfortunately the compiler throws an error — why is there a check of

[NTG-context] All Equations

2021-12-10 Thread Henning Hraban Ramm via ntg-context
XKCD}[url(https://xkcd.com/2034/)]}...} ... of Kinematics: \startformula E = K_0t + \frac{1}{2}\rho vt^2 \stopformula % ? Should it be v or \nu? ... of Number Theory: \startformula K_\Lambda = \sum^\infty_{i=0}\sum^\infty_{\pi=0}(n-\pi)(i+e^{\pi-\infty})\stopformula ... of Fluid Dynamics: \sta

Re: [NTG-context] Using old fonts

2021-11-18 Thread Hans Hagen via ntg-context
fontforge, which creates the GPOS table automatically, added the liga table manually, and generated an OTF font file. Is there a way to automate this (possibly a fontforge script)? The script should also find the ligatures (there may also be frac substitutions). Or is there another way which leaves

[NTG-context] Using old fonts

2021-11-18 Thread Gérard Milmeister via ntg-context
table manually, and generated an OTF font file. Is there a way to automate this (possibly a fontforge script)? The script should also find the ligatures (there may also be frac substitutions). Or is there another way which leaves the files unchanged? 2. Selecting glyphs from multiple font files

Re: [NTG-context] Math font tips and tricks

2021-11-11 Thread Marcus Vinicius Mesquita via ntg-context
\gamma x) dx = \lim Z → ∞ \stopformula \egroup \startformula \sqrt{34×y\frac{21\alpha^2}{98.0 x_2}}Δθ = \sin(a)^2 + \cos(b)^2 \stopformula \bgroup\bf \startformula \sqrt{34×y\frac{21\alpha^2}{98.0 x_2}}Δθ = \sin(a)^2 + \cos(b)^2 \stopformula \egroup \stoptext

Re: [NTG-context] Converting LaTeX math to ConTeXt

2021-10-14 Thread Jason Ross via ntg-context
\ R_{3 y}\\ R_{4 x}\\ R_{4 y} \end{matrix} \right] = \left[ \begin{matrix} \frac{A_{1} E_{1}}{L_{1}} & 0 & - \frac{A_{1} E_{1}}{L_{1}} & 0 & 0 & 0 & 0 & 0\\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0\\ - \frac{A_{1

Re: [NTG-context] Equation alignment

2021-09-07 Thread Jeong Dal via ntg-context
Dear Sylvain, I am using ’\startalign’ > > \starttext > \startformula > \eqalign{ > ax^2+bx+c &= 0 \cr > x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr > } > \stopformula > \stoptext > \starttext \startformula \startalign \NC ax^2 + bx + c \NC = 0 \NR \NC x \

Re: [NTG-context] Equation alignment

2021-09-07 Thread Wolfgang Schuster via ntg-context
Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 14:29: Dear List, The following example of equation alignment copied from An Excursion is not reproducible under my context 2021.03.05 shipped with texlive 2021: \starttext \startformula \eqalign{ ax^2+bx+c &= 0 \cr x &= \fra

[NTG-context] Equation alignment

2021-09-07 Thread Sylvain Hubert via ntg-context
Dear List, The following example of equation alignment copied from An Excursion is not reproducible under my context 2021.03.05 shipped with texlive 2021: \starttext \startformula \eqalign{ ax^2+bx+c &= 0 \cr x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr } \stopformula \stoptext Both am

[NTG-context] Bug with mathalignment and columns

2021-08-23 Thread Jack Hill via ntg-context
= 1, 98, 1 do context(lorum) end \stopluacode \startformula \startmathalignment[n=1] \NC y = ax \NR \NC a^2 + b^2 = c^2 \NR \NC x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \NR \stopmathalignment \stopformula \stopcolumns \stoptext Adding text after the formula seems to fix the issue, but that mea

Re: [NTG-context] font feature

2021-07-08 Thread Hans Hagen
On 7/8/2021 9:46 AM, Thomas A. Schmitz wrote: Hi all, is it possible to subtract a featureset that has been applied to a fontfamily? MWE: \definefontfeature   [f:frac]   [frac=yes,onum=no,pnum=no] \definefontfeature   [f:onum]   [onum=yes,pnum=yes] \definefontfamily [test] [serif

[NTG-context] font feature

2021-07-08 Thread Thomas A. Schmitz
Hi all, is it possible to subtract a featureset that has been applied to a fontfamily? MWE: \definefontfeature [f:frac] [frac=yes,onum=no,pnum=no] \definefontfeature [f:onum] [onum=yes,pnum=yes] \definefontfamily [test] [serif] [AntykwaTorunska] [features=f:onum] \definefontfamily

Re: [NTG-context] Functionnames disappearing (sometimes)

2021-06-19 Thread Otared Kavian
ic one here (it is needed(?) in the Neo Euler case to >> have function names set upright). The following file shows the problem >> as well: >> %%% >> \setupmathematics[ >> functionstyle=normal, >> ] >> \starttext >> We have $\cos\alpha$, $\sin\alpha$, $

Re: [NTG-context] Functionnames disappearing (sometimes)

2021-06-19 Thread Hans Hagen
[ functionstyle=normal, ] \starttext We have $\cos\alpha$, $\sin\alpha$, $\tan\alpha$, \startformula \cos\alpha=\frac{a}{c},\quad \sin\alpha=\frac{b}{c},\quad \tan\alpha=\frac{\sin\alpha}{\cos\alpha}=\frac{b}{a}. \stopformula \stoptext %%% I had a backup of the file I was working on, and the problem

Re: [NTG-context] Functionnames disappearing (sometimes)

2021-06-18 Thread Mikael Sundqvist
$, $\sin\alpha$, $\tan\alpha$, \startformula \cos\alpha=\frac{a}{c},\quad \sin\alpha=\frac{b}{c},\quad \tan\alpha=\frac{\sin\alpha}{\cos\alpha}=\frac{b}{a}. \stopformula \stoptext %%% I had a backup of the file I was working on, and the problem was not present on june 13 (not sure I had a completely

Re: [NTG-context] \frac error

2021-04-19 Thread thierry horsin
9:39 AM, thierry horsin wrote: For instance: \switchtobodyfont[21pt] \startformula \frac{MTC}{MTE} \stopformula is OK. While \switchtobodyfont[22pt] \startformula \frac{MTC}{MTE} \stopformula gives an error but \switchtobodyfont[22pt] $\frac{MTC}{MTE}$ works fine. Thanks Below: part

Re: [NTG-context] \frac error

2021-04-19 Thread Hans Hagen
On 4/19/2021 9:39 AM, thierry horsin wrote: For instance: \switchtobodyfont[21pt] \startformula \frac{MTC}{MTE} \stopformula is OK. While \switchtobodyfont[22pt] \startformula \frac{MTC}{MTE} \stopformula gives an error but \switchtobodyfont[22pt] $\frac{MTC}{MTE}$ works fine. Thanks

  1   2   3   4   5   6   7   8   >